package javaroadeditor;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.setFixed(false);
		
		layout.addStandaloneView(views.RoadEditorView.ID, false, IPageLayout.RIGHT, 0.19f, IPageLayout.ID_EDITOR_AREA);		
		layout.addStandaloneView(views.ComponentsTreeView.ID, false, IPageLayout.TOP, 0.5f, IPageLayout.ID_EDITOR_AREA);
		layout.addStandaloneView(views.PropertiesView.ID, false,  IPageLayout.BOTTOM, 0.5f, IPageLayout.ID_EDITOR_AREA);

	}

}
